package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PayChannelEnum;
import com.sc.nft.enums.PayMethodEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName sc_pay_refund
 */
@TableName(value = "sc_pay_refund")
@ApiModel(value = "sc_pay_refund 对象", description = "")
@Data
public class PayRefund extends SuperEntity implements Serializable {

    /**
     * pay_order唯一id
     */
    private Long payOrderId;

    /**
     * 用户手机号
     */
    private String userTel;

    /**
     * 交易订单号
     */
    private String tradeNo;

    /**
     * 业务订单号
     */
    private String orderNo;

    /**
     * 请求结果
     */
    private String result;

    /**
     * 支付渠道
     */
    private PayChannelEnum channel;

    /**
     * 支付类型
     */
    private PayMethodEnum payType;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 退款时间
     */
    private Date refundTime;


}